package com.example.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

//@EnableEurekaClient    //开启EurekaClient服务
@EnableHystrix         //开启熔断服务
@EnableFeignClients    //开启Feign服务，即负载均衡的服务调用
@SpringBootApplication
public class DemoServiceUser1Application {
	public static void main(String[] args) {
		SpringApplication.run(DemoServiceUser1Application.class, args);
	}
}
